home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000217-20000824
/
000370_news@columbia.edu _Wed Jun 14 10:39:16 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2000-08-23
|
6KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA03437
for <kermit.misc@cpunix.cc.columbia.edu>; Wed, 14 Jun 2000 10:39:15 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA20900
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 14 Jun 2000 10:39:15 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA13096
for kermit.misc@watsun.cc.columbia.edu; Wed, 14 Jun 2000 10:15:35 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: Serial console: Ctrl-C doesn't work
Date: 14 Jun 2000 14:15:34 GMT
Organization: Columbia University
Message-ID: <8i8426$cp5$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <8i7c8n$11ro$1@news.net.uni-c.dk>,
Bernd Dammann <bernd@lipid.fki.dtu.dk> wrote:
: I've set up a diskless and headless machine with a serial console that
: I access from the server through a null-modem cable (using kermit as
: terminal emulator). Everything works fine, except for one thing:
:
: Ctrl-C (intr) and Ctrl-Z (susp) don't work! All other Ctrl- sequences
: like Ctrl-U (kill) and Ctrl-W (werase) do work.
:
: Where is the problem? The console settings (see below), or the
: terminal emulation? I've tried several terminal emulation programs
: (i.e. kermit, minicom, ...), but the problem is the same.
:
So it's evidently something with your Linux configuration, having nothing
to do with the terminal emulator.
: Here are the console stty settings:
:
: speed 38400 baud; rows 24; columns 80; line = 0;
: intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = <undef>;
^^^^^^^^^
: eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
: ^^^^^^^^^
These are set right. Nothing is obviously (to me) wrong.
Perhaps the problem is on your "server", whatever you mean by that. If you
start Kermit on your server, then at the C-Kermit> prompt, what happens if
you type Ctrl-C? If you see:
C-Kermit> ^C...
C-Kermit>
this means C-Kermit sees your Ctrl-C, and therefore when in CONNECT mode it
would also pass it along to the other computer, just as it would any other
character except its escape character (normally Ctrl-\), which must be entered
twice to send one copy. If you don't see "^C..." this means that something on
your server is filtering it out before Kermit gets it.
- Frank
From news@columbia.edu Wed Jun 14 10:39:16 2000
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id KAA10096
for <kermit.misc@cpunix.cc.columbia.edu>; Wed, 14 Jun 2000 10:39:16 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA20903
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 14 Jun 2000 10:39:15 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id KAA14062
for kermit.misc@watsun.cc.columbia.edu; Wed, 14 Jun 2000 10:36:27 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: Translate cannot handle certain filenames?
Date: 14 Jun 2000 14:36:26 GMT
Organization: Columbia University
Message-ID: <8i859a$dnc$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <ySJ15.206$Q%3.5871@read2.inet.fi>,
ralf.strandell <ralf.strandell@silja.com> wrote:
: On certain systems file names are in the following format: "project*file."
: The asterisk and dot must be there and they are treated literally.
:
: Now translate seems to think that this "project*file." represents multiple
: files and fails.
: How do I change this? I tried using \Fcont(\m(badfilename)) without success.
: Even \Fliteral(project*file.) failed.
:
Those constructions wouldn't have helped; they control the degree of
evaluation of variables or things that look like variables (i.e. strings
that have backslashes in them).
Filenames have their own special notation, both in and outside of Kermit.
Certain characters are special; "*" is one of them. If you need to include a
special character in a filename, you must prefix it with backslash:
project\*file
However, I just tried this and see it doesn't work in the current releases of
Kermit, although it did work in (e.g.) C-Kermit 6.0, so this is a new bug.
Besides the obvious workarounds (don't give files names that include such
characters as "*", "?", space, slash, backslash, etc; or, in Unix, refer to
the file through a symlink), there is one technique that can be used in the
current versions of C-Kermit and K95:
translate proj<Tab>
If "project*file" is the only file whose name begins with "proj", the Tab
key causes automatic expansion to the full name and the asterisk is treated
as a literal character rather than a wildcard.
We'll fix the bug in the next release.
By the way, Kermit is not the only software that is likely to have trouble
with files or directories whose names contain metacharacters, spaces, control
characters, or other characters that are not intended to be used in filenames,
so the best practice is to stick with normal naming conventions.
- Frank